package com.example.chat.user;

import lombok.Data;

@Data
public class WeChatUser {
    //用户唯一标识
    private String openId;
    //用户昵称
    private String nickname;
    //用户头像
    private String headimgurl;
    //用户性别
    private int sex;
    //用户所在国家
    private String country;
    //用户所在省份
    private String province;
    //用户所在城市
    private String city;

    public WeChatUser(String openId, String nickname, int sex, String country, String province, String city) {
        this.openId = openId;
        this.nickname = nickname;
        this.sex = sex;
        this.country = country;
        this.province = province;
        this.city = city;
    }
}
